package com.ydd.app.manager;

import com.ydd.app.bean.common.CustomerBean;
import com.ydd.app.bean.input.CreteUserRequest;
import com.ydd.app.bean.input.CustomerAccountRequest;
import com.ydd.app.bean.output.BackstageLoginResponse;
import com.ydd.app.bean.output.CustomerLoginResponse;

public interface AccountMng {

	public boolean isThisAccount(final String userId,final String token);
	
	public BackstageLoginResponse backstageLogin(final String account,final String password);
	
	public CustomerLoginResponse customerLogin(final String account,final String password);
	
	public boolean userAccount(final CustomerAccountRequest request);
	
	public CustomerBean[] queryAllCustomers();
	
	public boolean creteUser(final CreteUserRequest request);
}
